using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_SEQNOEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_SEQNOEntity()
         {
             tableName = "PT_SEQNO";


			 fieldInfos.Add(new FieldInfo("PT_SEQNO","TableSeq","TableSeq","string",100,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_SEQNO","ColumnSeq","ColumnSeq","string",100,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_SEQNO","LastNumber","LastNumber","int",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_SEQNO","Prefix","Prefix","string",100,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_SEQNO","Lenght","Lenght","int",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_TableSeq;
		 protected string m_ColumnSeq;
		 protected int m_LastNumber;
		 protected string m_Prefix;
		 protected int m_Lenght;

		 public string TableSeq

          { 
                get { 
                    return m_TableSeq;}

                set{m_TableSeq=value;

                    GetField("TableSeq").Set();
                    GetField("TableSeq").IsNull=(value == null);           
                    }
          }
		 public string ColumnSeq

          { 
                get { 
                    return m_ColumnSeq;}

                set{m_ColumnSeq=value;

                    GetField("ColumnSeq").Set();
                    GetField("ColumnSeq").IsNull=(value == null);           
                    }
          }
		 public int LastNumber

          { 
                get { 
                    return m_LastNumber;}

                set{m_LastNumber=value;

                    GetField("LastNumber").Set();
                    GetField("LastNumber").IsNull=(value == null);           
                    }
          }
		 public string Prefix

          { 
                get { 
                    return m_Prefix;}

                set{m_Prefix=value;

                    GetField("Prefix").Set();
                    GetField("Prefix").IsNull=(value == null);           
                    }
          }
		 public int Lenght

          { 
                get { 
                    return m_Lenght;}

                set{m_Lenght=value;

                    GetField("Lenght").Set();
                    GetField("Lenght").IsNull=(value == null);           
                    }
          }

}
}
